package org.cll.pattern.singleton.examplethree;

/**
 * @ClassName Cattle
 * @Description TODO
 * @Author Administrator
 * @Date 2024-09-11 15:35:15
 * @Version 1.0
 **/
public class Cattle extends Zoo{

    public Cattle(String name) {
        super(name);
        System.out.println(this.name+"子类");
    }

    @Override
    public void reproduce() {
        super.reproduce();
    }
}
